<include file="Public/header" />
    <div class="comm-top">
		<if condition="$user neq null">
        <div class="title-left">积分记录</div>
        <div class="title-left"><a style="color:#1066a5;cursor:pointer;" href="{:U('index')}">返回</a></div>
        </if>
     <!--    <div class="title-right" style="top:8px;">
        <form method="get" action="{:U('cent_log')}">
            <input type="hidden" name="user_id" value="{$user_info.id}"/>
            <input name="keywords" class="textarea search_inp" placeholder="请输入关键词" type="text" value="{:I('get.keywords')}"/>
            <input value="搜索" class="btn btn-success search_btn" type="submit" />
        </form>
        </div> -->
    </div>
    <div class="list-table">
        <div class="wrapper">
            <table class="stable">
                <thead>
                    <tr>
                        <th>昵称</th>
                        <th>信息</th>
                        <th>成长值</th>
                        <th>时间</th>
                    </tr>
                </thead>
                <tbody>
                    <foreach name="list" item="vo">
                        <tr>
                            <td>{$vo.nickname|default='--'}</td>
                            <td>{$vo.sense}</td>
                            <td>{$vo['type']=='1'?'+':'-'}{$vo.cent_value}</td>
                            <td>{$vo.create_time|substr=0,16}</td>
                        </tr>
                    </foreach>
                </tbody>
            </table>
        </div>
    </div>
    <div class="page-list">{$page}</div>
<include file="Public/footer" />